// 导入用户集合
const { RoleType } = require('../../../model/roleType');

module.exports = async (req, res) => {
  const roles = await RoleType.find()
  res.json({
      data: roles
  })
}